//
//  WKPopCancelView.h
//  danpin
//
//  Created by chuangjia on 14/11/2015.
//  Copyright © 2015 chuangjia. All rights reserved.
//

#import <UIKit/UIKit.h>
/**
 *  @Author wang kun
 *
 *  点击样式
 */
typedef NS_ENUM(NSInteger, WindowClick){
    /**
     *  @Author wang kun
     *
     *  点击确定按钮
     */
    WindowClickForOK = 0,
    /**
     *  @Author wang kun
     *
     *  点击取消按钮
     */
    WindowClickForCancel
};
typedef void (^callBack)(WindowClick buttonIndex,id obj);

@interface WKPopCancelView : UIWindow
@property (nonatomic, copy) callBack clickBlock ;//按钮点击事件的回调

+ (instancetype)shared;
//默认样式创建AlertView
+ (instancetype)showAlertViewWithTitle:(NSString *)title subTitle:(NSString*)subtitle callBlock:(callBack)callBack;
@end
